package system_router

import (
	system_services "go_ruoyi/services/system"

	"github.com/gin-gonic/gin"
)

func UserRouter(g *gin.RouterGroup) {
	g.GET("user/list", system_services.GetUserList)
	g.GET("user/", system_services.GetUser)
	g.GET("user/:id", system_services.GetUser)
	g.POST("user", system_services.CreateUser)
	g.PUT("user", system_services.UpdateUser)
	g.PUT("user/resetPwd", system_services.ResetPwd)
	g.DELETE("user/:id", system_services.DeleteUser)
	g.POST("user/export", system_services.ExportUser)
	g.POST("user/importData", system_services.ImportUser)
}
